package com.ktgj.flight.domain;

import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 出票渠道调整对象 flight_channel_adjust
 *
 * @author ruoyi
 * @date 2021-11-10
 */
public class FlightAdjust extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Integer adjustId;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String airlinerId;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String cabin;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String departure;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String arrival;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer sourcetype;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date starttime;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tmpStarttime;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date endtime;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tmpEndtime;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer employeeid;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date operationtime;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String tmpOperationtime;

    /**
     * 订单来源对应枚举 以| 分割
     */
    @Excel(name = "订单来源对应枚举 以| 分割")
    private String ordersorce;

    /**
     * 配送方式对应枚举 以| 分割
     */
    @Excel(name = "配送方式对应枚举 以| 分割")
    private String deliverytype;

    /**
     * 航班时间 开始|结束
     */
    @Excel(name = "航班时间 开始|结束")
    private String flightdate;

    /**
     * 大客户编号
     */
    @Excel(name = "大客户编号")
    private String bigcustomer;

    /**
     * 航班号
     */
    @Excel(name = "航班号")
    private String flightno;

    /**
     * 是否验证白名单 1不需要  2需要
     */
    @Excel(name = "是否验证白名单 1不需要  2需要")
    private Integer ischeckinfo;

    /**
     * 出票异常描述，提醒出票员出票时黑屏相关指令
     */
    @Excel(name = "出票异常描述，提醒出票员出票时黑屏相关指令")
    private String issDesc;

    /**
     * 是否需要在PNR中备注大客户编码
     */
    @Excel(name = "是否需要在PNR中备注大客户编码")
    private Integer isPnrrmk;

    /**
     * 是否适用于所有乘客1不适用，1适用
     */
    @Excel(name = "是否适用于所有乘客1不适用，1适用")
    private Integer fitGuest;

    /**
     * 返现类型 1 金额，2比例
     */
    @Excel(name = "返现类型 1 金额，2比例")
    private Integer vipPolicyType;

    /**
     * 返现金额。金额或者比例 当返现类型为金额时，8代表8元， 当返现类型为比例时，8代表百分之八
     */
    @Excel(name = "返现金额。金额或者比例 当返现类型为金额时，8代表8元， 当返现类型为比例时，8代表百分之八")
    private Integer vipPolicyAmount;

    /**
     * 出票指令，多个用|隔开
     */
    @Excel(name = "出票指令，多个用|隔开")
    private String cpMark;

    /**
     * pat价格标示
     */
    @Excel(name = "pat价格标示")
    private String patMark;

    /**
     * 城市id
     */
    @Excel(name = "城市id")
    private Long cityId;

    /**
     * 出票途径
     */
    @Excel(name = "出票途径")
    private String ticketingChannel;

    /*------------------------------------------------------------------------------------------*/

    /**
     * 机票大客户白名单列表
     */
    @Excel(name = "机票大客户白名单列表")
    private List<FlightAdjustPassenger> flightAdjustPassengerList;

    /**
     * 前
     */
    @Excel(name = "前")
    private String flightdateSetOff;

    /**
     * 后
     */
    @Excel(name = "后")
    private String flightdateBack;

    /**
     * 配送方式
     */
    @Excel(name = "配送方式")
    private List<String> deliverytypeList;

    /**
     * 订单来源
     */
    @Excel(name = "订单来源")
    private List<String> ordersorceList;

    /**
     * 出票指令
     */
    @Excel(name = "出票指令")
    private List<String> cpMarkList;

    public String getTmpStarttime() {
        return tmpStarttime;
    }

    public void setTmpStarttime(String tmpStarttime) {
        this.tmpStarttime = tmpStarttime;
    }

    public String getTmpEndtime() {
        return tmpEndtime;
    }

    public void setTmpEndtime(String tmpEndtime) {
        this.tmpEndtime = tmpEndtime;
    }

    public String getTmpOperationtime() {
        return tmpOperationtime;
    }

    public void setTmpOperationtime(String tmpOperationtime) {
        this.tmpOperationtime = tmpOperationtime;
    }

    public List<String> getOrdersorceList() {
        return ordersorceList;
    }

    public void setOrdersorceList(List<String> ordersorceList) {
        this.ordersorceList = ordersorceList;
    }

    public List<String> getCpMarkList() {
        return cpMarkList;
    }

    public void setCpMarkList(List<String> cpMarkList) {
        this.cpMarkList = cpMarkList;
    }

    public List<String> getDeliverytypeList() {
        return deliverytypeList;
    }

    public void setDeliverytypeList(List<String> deliverytypeList) {
        this.deliverytypeList = deliverytypeList;
    }

    public String getFlightdateSetOff() {
        return flightdateSetOff;
    }

    public void setFlightdateSetOff(String flightdateSetOff) {
        this.flightdateSetOff = flightdateSetOff;
    }

    public String getFlightdateBack() {
        return flightdateBack;
    }

    public void setFlightdateBack(String flightdateBack) {
        this.flightdateBack = flightdateBack;
    }

    public List<FlightAdjustPassenger> getFlightAdjustPassengerList() {
        return flightAdjustPassengerList;
    }

    public void setFlightAdjustPassengerList(List<FlightAdjustPassenger> flightAdjustPassengerList) {
        this.flightAdjustPassengerList = flightAdjustPassengerList;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getTicketingChannel() {
        return ticketingChannel;
    }

    public void setTicketingChannel(String ticketingChannel) {
        this.ticketingChannel = ticketingChannel;
    }

    public void setAdjustId(Integer adjustId) {
        this.adjustId = adjustId;
    }

    public Integer getAdjustId() {
        return adjustId;
    }

    public void setAirlinerId(String airlinerId) {
        this.airlinerId = airlinerId;
    }

    public String getAirlinerId() {
        return airlinerId;
    }

    public void setCabin(String cabin) {
        this.cabin = cabin;
    }

    public String getCabin() {
        return cabin;
    }

    public void setDeparture(String departure) {
        this.departure = departure;
    }

    public String getDeparture() {
        return departure;
    }

    public void setArrival(String arrival) {
        this.arrival = arrival;
    }

    public String getArrival() {
        return arrival;
    }

    public void setSourcetype(Integer sourcetype) {
        this.sourcetype = sourcetype;
    }

    public Integer getSourcetype() {
        return sourcetype;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEmployeeid(Integer employeeid) {
        this.employeeid = employeeid;
    }

    public Integer getEmployeeid() {
        return employeeid;
    }

    public void setOperationtime(Date operationtime) {
        this.operationtime = operationtime;
    }

    public Date getOperationtime() {
        return operationtime;
    }

    public void setOrdersorce(String ordersorce) {
        this.ordersorce = ordersorce;
    }

    public String getOrdersorce() {
        return ordersorce;
    }

    public void setDeliverytype(String deliverytype) {
        this.deliverytype = deliverytype;
    }

    public String getDeliverytype() {
        return deliverytype;
    }

    public void setFlightdate(String flightdate) {
        this.flightdate = flightdate;
    }

    public String getFlightdate() {
        return flightdate;
    }

    public void setBigcustomer(String bigcustomer) {
        this.bigcustomer = bigcustomer;
    }

    public String getBigcustomer() {
        return bigcustomer;
    }

    public void setFlightno(String flightno) {
        this.flightno = flightno;
    }

    public String getFlightno() {
        return flightno;
    }

    public void setIscheckinfo(Integer ischeckinfo) {
        this.ischeckinfo = ischeckinfo;
    }

    public Integer getIscheckinfo() {
        return ischeckinfo;
    }

    public void setIssDesc(String issDesc) {
        this.issDesc = issDesc;
    }

    public String getIssDesc() {
        return issDesc;
    }

    public void setIsPnrrmk(Integer isPnrrmk) {
        this.isPnrrmk = isPnrrmk;
    }

    public Integer getIsPnrrmk() {
        return isPnrrmk;
    }

    public void setFitGuest(Integer fitGuest) {
        this.fitGuest = fitGuest;
    }

    public Integer getFitGuest() {
        return fitGuest;
    }

    public void setVipPolicyType(Integer vipPolicyType) {
        this.vipPolicyType = vipPolicyType;
    }

    public Integer getVipPolicyType() {
        return vipPolicyType;
    }

    public void setVipPolicyAmount(Integer vipPolicyAmount) {
        this.vipPolicyAmount = vipPolicyAmount;
    }

    public Integer getVipPolicyAmount() {
        return vipPolicyAmount;
    }

    public void setCpMark(String cpMark) {
        this.cpMark = cpMark;
    }

    public String getCpMark() {
        return cpMark;
    }

    public void setPatMark(String patMark) {
        this.patMark = patMark;
    }

    public String getPatMark() {
        return patMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("adjustId", getAdjustId())
                .append("airlinerId", getAirlinerId())
                .append("cabin", getCabin())
                .append("departure", getDeparture())
                .append("arrival", getArrival())
                .append("sourcetype", getSourcetype())
                .append("starttime", getStarttime())
                .append("endtime", getEndtime())
                .append("employeeid", getEmployeeid())
                .append("operationtime", getOperationtime())
                .append("ordersorce", getOrdersorce())
                .append("deliverytype", getDeliverytype())
                .append("flightdate", getFlightdate())
                .append("bigcustomer", getBigcustomer())
                .append("flightno", getFlightno())
                .append("ischeckinfo", getIscheckinfo())
                .append("issDesc", getIssDesc())
                .append("isPnrrmk", getIsPnrrmk())
                .append("fitGuest", getFitGuest())
                .append("vipPolicyType", getVipPolicyType())
                .append("vipPolicyAmount", getVipPolicyAmount())
                .append("cpMark", getCpMark())
                .append("patMark", getPatMark())
                .toString();
    }
}
